package top.zsc.cloud.demo.system.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@ApiModel("部门表")
@Data
@Table(name = "test_dept")
public class Dept implements Serializable {
    @ApiModelProperty("部门id")
    @Id
    private Integer deptId;
    @ApiModelProperty("部门名称")
    private String deptName;
    @ApiModelProperty("数据库")
    private String dbSource;
}